GrapeCity.CalcEngine.Functions Namespace > CalcChooseFunction Class > Evaluate Method : Evaluate(Object[]) Method |
The args contains 2 - 255 items: index_num, value1, [value2], ..
Index_num specifies which value argument is selected.
Value1,value2,... are 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.
'Declaration Public Overloads Overrides Function Evaluate( _ ByVal args() As System.Object _ ) As System.Object
'Usage Dim instance As CalcChooseFunction Dim args() As System.Object Dim value As System.Object value = instance.Evaluate(args)
public override System.object Evaluate( System.object[] args )
The args contains 2 - 255 items: index_num, value1, [value2], ..
Index_num specifies which value argument is selected.
Value1,value2,... are 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)